﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using System.IO;
using System.Drawing.Imaging;
using System.Data.SqlClient;
using System.Configuration;
using System.Data.Sql;
using System.Data.SqlTypes;
using System.Web.SessionState;
using System.ComponentModel;
using System.Data;
using System.Web.UI.HtmlControls;

namespace iResume
{
    public partial class Loginjobseeker : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ArrayList jsUpdate = new ArrayList();
            string email = (string)(Session["username"]);
            if (email == null)
            {
                Response.Redirect("loginpage.aspx");
            }
            jsUpdate = DBManager.retrievejs(email);
            JobSeeker Update = new JobSeeker();
            Update = (JobSeeker)jsUpdate[0];
            //Image1.ImageUrl = "recruiterDisplayImage.ashx?id=" + r.Email;
            Image1.ImageUrl = "jobSeekerDisplayImg.ashx?id=" + Update.EmailAdd;


            Label7.Text = Update.FullName;
            Label1.Text = Update.Jobcategory;
            Label3.Text = Update.Profile;
            Label4.Text = Update.Education;
            Label5.Text = Update.Skills;
            Label6.Text = Update.Workexperience;
        }
    }
}